mscrm-addons.com - Blog

IMPORTANT INFORMATION

This blog is deprecated since July 2020.The articles below are no longer maintained and might contain outdated information. 
You can find the most acutal and relevenat information in our Knowledge Base at support.mscrm-addons.com

News.mscrm-addons.com Blog

rss

Hello and welcome to our blog! What can we do for you? Are you looking for further technical information or step-by-step instructions to our products? Or would you like to read the latest news on mscrm-addons? Please feel free to browse our blog for detailed information and to share our posts!


How to display various activity-attributes within multiple rows in Gantt view

This blog article explains how to configure GroupCalendar in order to show additional activity-attributes within multiple rows in the GroupCalendar’s Gantt view. Each additional attribute of an activity will be shown in a new line. 

Figure 1: Various attributes of a meeting shown in multiple rows within the Gantt view

You have the possibility to configure as many lines as you like, there is no limitation.
For each line, you can define a display name and the associated attribute.
This is globally configured in the general GroupCalendar settings.
To do so, please follow the steps described below.

1. Open your CRM in InternetExplorer.

2. Navigate to Settings within the CRM sitemap. Here, click on MSCRM-ADDONS.com Products in the CRM sitemap, tick the checkbox in front of GroupCalendar and click on the [Edit]-button within the CRM menu.

Figure 2: Settings-sitemap within CRM, overview of installed MSCRM-ADDONS.com products

Then, the following window opens. Click on the MSCRM-ADDONS.com Settingskeys within the menu on the left. 

Figure 3: MSCRM-ADDONS.com Settingskeys-area of GroupCalendar

3. Now you have to generate a new key. To do so, click on the [Add New MSCRM-ADDONS.com Settingskeys]-button in the CRM menu.

Figure 4: [Add MSCRM-ADDONS.com Settingskeys]-button in CRM

A new window opens. Here, you must define a name of the key in the Name-field and set the IsCached-field on Yes. Furthermore, you must type in a value in the KeyValue-field.

Figure 5: Configuration of a new settingskey

The syntax for the Name-field referring to the attribute description to be displayed is AddGanttAttrDesc[TYPENAME][LINENUMBER]. The syntax for the Name-field referring to the attribute to be shown is AddGanttAttr[TYPENAME][LINENUMBER].
The [TYPENAME] is the entity schema name (e.g. appointment)  and the [LINENUMBER] is the line number of the attribute starting with 1. The first line will always be the subject.

Example:
If you want to display an appointment entity with multiple rows, e.g. in the first row the attribute location with the display name Location, in the second row the attribute requiredattendees with the display name Required and in the third row a custom attribute named new_contactid with the description Contact, you have to type in the following key-names and key-values within the settingskey-configuration-window shown in the previous screenshot.

KeyName 

KeyValue 

Description 

AddGanttAttrDescappointment1

Location

Appointment 1. line, displayname "Location"

AddGanttAttrappointment1

location

Appointment 1. line, attribute "location"

AddGanttAttrDescappointment2

Required

Appointment 2. line, displayname  "Required"

AddGanttAttrappointment2

requiredattendees

Appointment 2. line, attribute "requiredattendees"

AddGanttAttrDescappointment3

Contact

Appointment 3. line, displayname "Contact"

AddGanttAttrappointment3

new_contactid

Appointment 3. line, attribute "new_contactid"

After you have typed in the key-name and the key-value, click on the [Save and Close]-button in the CRM menu at the top. Afterwards, start to create a new settingskey with the key-name and the key-value of the attribute or the attribute description-name you want to add next.

In addition, you have to configure in which Gantt-views you want these attributes to be displayed.

This setting is named GanttMultipleLineViews. Possible values are daygantt, weekgantt and monthgantt. The settings can also be combined. If you want to e.g. display the multiple lines in the day- and week-Gantt-view, you have to type in “daygantt,weekgantt” as the value of the setting.

That’s it! We appreciate your feedback! Please share your thoughts by sending an email to support@mscrm-addons.com.




Comments are closed.